home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / wgdb-42.lha / wgdb-4.2 / bfd / hosts / h-amix.h next >
C/C++ Source or Header  |  1992-09-11  |  2KB  |  63 lines

  1. /* Amiga Unix host system */
  2. #include <fcntl.h>
  3. #include <errno.h>
  4. #include <stdio.h>
  5. #include <sys/types.h>
  6. #include <sys/stat.h>
  7. #include <utime.h>
  8. #include <ctype.h>
  9. #include <string.h>
  10. #include <sys/file.h>
  11.  
  12. #ifndef O_ACCMODE
  13. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  14. #endif
  15. #define SEEK_SET 0
  16. #define SEEK_CUR 1
  17.  
  18. #define POSIX_UTIME
  19.  
  20. extern PROTO(int,  abort,(void));
  21. extern PROTO(int,  close,(int));
  22. extern PROTO(void, exit,(int));
  23. extern PROTO(int,  fclose,(FILE*));
  24. extern PROTO(void, free,(PTR));
  25. extern PROTO(int,  fseek,(FILE*, long, int));
  26. extern PROTO(int,  getgid,());
  27. extern PROTO(int,  getuid,());
  28. extern PROTO(PTR,  malloc,(unsigned));
  29. extern PROTO(void, perror,(CONST char *));
  30. extern PROTO(int,  qsort,(void *data,int els, int siz, int func()));
  31. extern PROTO(PTR,  realloc, (PTR, unsigned));
  32.  
  33. extern char *getenv();
  34. extern int chmod();
  35. extern int fstat();
  36. extern int stat();
  37. extern int strtol();
  38.  
  39. extern char *ctime();
  40. extern int _flsbuf();
  41. extern int fclose();
  42. extern int utimes();
  43. extern int vfprintf();
  44. extern long atol();
  45. extern int fputc();
  46. extern int unlink();
  47.  
  48. /* EXACT TYPES */
  49. typedef char int8e_type;
  50. typedef unsigned char uint8e_type;
  51. typedef short int16e_type;
  52. typedef unsigned short uint16e_type;
  53. typedef int int32e_type;
  54. typedef unsigned int uint32e_type;
  55.  
  56. /* CORRECT SIZE OR GREATER */
  57. typedef char int8_type;
  58. typedef unsigned char uint8_type;
  59. typedef short int16_type;
  60. typedef unsigned short uint16_type;
  61. typedef int int32_type;
  62. typedef unsigned int uint32_type;
  63.